#include <QCoreApplication>
#include "myfirst.h"
#include "rectangle.h"
#include "square.h"
#include "triangle.h"

int main()
{
    Triangle *a=new Triangle(1,5);
    Rectangle *b=new Rectangle(1,3);
    Square *c=new Square(5);

    Conteiner *cont=new Conteiner;


    cont->pushFig(a);
    cont->pushFig(b);
    cont->pushFig(c);

    cont->zapisb("C:\\Users\\Anton\\Desktop\\firstTest.txt");
    return 0;
}



